<?php
namespace Swiftx\DataType;
/**
 * ---------------------------------------------------------------------------------------------------------------------
 * 字符串数据类型
 * ---------------------------------------------------------------------------------------------------------------------
 * @author      胡永强 <odaytudio@gmail.com>
 * @since       2015-09-30
 * @copyright   Copyright (c) 2014-2015 Swiftx Inc.
 * ---------------------------------------------------------------------------------------------------------------------
 */
class Pager extends Page{

    protected $_loader;
    protected $_counter;

    /**
     * 数据加载回调
     * @param $method
     */
    public function LoadCallback($method){
        $this->_loader = $method;
    }

    /**
     * 获取总记录数回调
     * @param $method
     */
    public function CountCallback($method){
        $this->_counter = $method;
    }

    protected function _setCurrent($number){

    }
}